package com.sqrj.phoneorder.Vo;

import lombok.*;

import java.math.BigDecimal;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class WeighTruckVo {

    static BigDecimal zero = new BigDecimal("0");

    private String truckid;

    private String goodsname;

    private Integer sumnub;

    private BigDecimal w;

    private String provideunit;

    public BigDecimal getW() {

        return w = w == null ?zero  : w;
    }
}
